package com.phiture.erp.basic.core.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 人员工序对照新增/修改 Request VO")
@Data
public class ErpUserProcessMappingSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16149")
    private Long id;

    @Schema(description = "人员ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "6161")
    @NotNull(message = "人员ID不能为空")
    private Long userId;

    @Schema(description = "工序ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "3374")
    @NotNull(message = "工序ID不能为空")
    private Long processId;

}